package com.codebattery.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@Component
@FeignClient("goods-service")
public interface GoodsServiceClient {
    @GetMapping("/order/get-all-orders")
    List<Object> getAll();
}
